package com.it.park.rms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.it.park.rms.client.model.RoleMenu;
import com.it.park.rms.client.service.RoleMenuService;
import com.it.park.rms.dao.RoleMenuMapper;
import com.it.park.rms.service.impl.base.BaseServiceImpl;

@Service("roleMenuService")
public class RoleMenuServiceImpl extends BaseServiceImpl<RoleMenu> implements RoleMenuService{
	
	@Autowired
	private RoleMenuMapper roleMenuMapper;

	@Override
	public boolean insert(RoleMenu record) {
		return roleMenuMapper.insert(record) == 1;
	}
	
}
